﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Comment;
using IDAL;
using Model;

namespace DAL
{
    public class DALTBUsers : IDALTBUsers
    {
        private Model1 db = new Model1();

        public TBUsers Select(int id)
        {
            return db.TBUsers.SingleOrDefault(a=>a.Id==id);
        }
    }
}
